import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import redis.clients.jedis.JedisPool;

/**
 * @Classname test
 * @Description TODO
 * @Date 2020/11/3 18:42
 * @Created by com.wwk
 * @Author com.wwk
 */
public class test {

    @Autowired
    private JedisPool jedisPool;

    @Test
    public void test1(){
        JedisPool jedisPool1=new JedisPool("182.92.60.66",6379);
        jedisPool1.getResource().set("name","com.wwk");
        jedisPool1.close();
    }
}
